home *** CD-ROM | disk | FTP | other *** search
- /* samc04010.c */
-
- #include <graphics.h>
- #include "teglsys.h"
-
-
- void main()
- {
- imagestkptr fs;
-
- easytegl();
-
- pushimage(1,1,100,100);
- shadowbox(1,1,100,100);
- fs = stackptr;
-
- pushimage(50,50,150,150);
- shadowbox(50,50,150,150);
- showmouse();
-
-
- while( mouse_buttons == 0 );
-
- prepareforupdate(fs);
- setcolor(BLUE);
- circle(fs->x+48,fs->y+45,50);
- commitupdate();
-
-
- while( mouse_buttons == 0 );
- abort_msg("");
-
- }